package com.hwl.demo13.service;

/**
 * 球员
 *
 * @author sentry
 * @since 2023-03-21
 */
public abstract class Player {
    protected String name;

    public Player(String name) {
        this.name = name;
    }

    public abstract void attack(); // 进攻

    public abstract void defense(); // 防守
}
